﻿#include "mainwindow.h"
#include "ui_mainwindow.h"

#include "cairo.h"
#include <QDebug>
#include <QPainter>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent), ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    //使用cairo绘图引擎
    const char *pVersion = cairo_version_string();
    qDebug() << pVersion;
}

MainWindow::~MainWindow()
{
    delete ui;
}
